﻿Imports NHibernate.Cfg
Imports NHibernate.Tool.hbm2ddl
Imports SIAVU.Dominio

Public Class GenerateSchema_Fixture


    Sub Can_generate_schema()
        Dim cfg As New Configuration
        cfg.Configure()
        cfg.AddAssembly(GetType(Usuario).Assembly)
        'cfg.AddAssembly("SIAVU")
        Dim oSchemaExport As New SchemaExport(cfg)
        oSchemaExport.Execute(False, True, False)
    End Sub
End Class
